package xyz.labmem.main.modular.app.rmfk.entity

import com.alibaba.excel.annotation.format.DateTimeFormat
import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.annotion.SocketPath
import xyz.labmem.base.core.annotion.SqlColumn
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*

/**
 * @Author lty
 * @Date 2022/1/25 17:33
 */
@SocketPath("true",order=57)
@TableName("rfb_rfssdy_jd_cjb")
@ApiModel(value = "人防疏散地域_基地_采集表")
class App_rfbrfssdyjdcjb : GFBaseEntity<App_rfbrfssdyjdcjb>() {

    @SqlColumn
    @TableField("dwmcy")
    @ApiModelProperty(value = "地域_基地_名称")
    @ExcelProperty("地域_基地_名称")
    var dwmcy: String? = null

    @TableField("GCLS")
    @ApiModelProperty(value = "工程隶属")
    @ExcelProperty("工程隶属")
    var gcls: String? = null

    @SqlColumn
    @TableField("DY_JD_XXDZ")
    @ApiModelProperty(value = "地域-基地-详细地址")
    @ExcelProperty("地域_基地_详细地址")
    var dyjdxxdz: String? = null

    @SqlColumn
    @TableField("DWFZR")
    @ApiModelProperty(value = "单位负责人")
    @ExcelProperty("单位负责人")
    var dwfzr: String? = null

    @SqlColumn
    @TableField("LXFS")
    @ApiModelProperty(value = "联系方式")
    @ExcelProperty("联系方式")
    var lxfs: String? = null

    @TableField("JD")
    @ApiModelProperty(value = "经度")
    @ExcelProperty("经度")
    var jd: String? = null

    @TableField("WD")
    @ApiModelProperty(value = "纬度")
    @ExcelProperty("纬度")
    var wd: String? = null

    @SqlColumn
    @TableField("PSGLDW")
    @ApiModelProperty(value = "平时管理单位")
    @ExcelProperty("平时管理单位")
    var psgldw: String? = null


    @SqlColumn
    @TableField("DY_JD_ZMJ_PFM")
    @ApiModelProperty(value = "地域-基地-总面积(平方米)")
    @ExcelProperty("地域_基地_总面积_平方米")
    var dyjdzmjpfm: String? = null

    @TableField("DY_JD_MJ_PFM")
    @ApiModelProperty(value = "地域-基地-面积(平方米)")
    @ExcelProperty("地域_基地_面积_平方米")
    var dyjdmjpfm: String? = null

    @TableField("ZDKRNRS_R")
    @ApiModelProperty(value = "最大可容纳人数(人)")
    @ExcelProperty("最大可容纳人数_人")
    var zdkrnrsr: String? = null

    @TableField("CQFHCSQK")
    @ApiModelProperty(value = "采取防护措施情况")
    @ExcelProperty("采取防护措施情况")
    var cqfhcsqk: String? = null

    @SqlColumn
    @TableField("JBSHBZQK")
    @ApiModelProperty(value = "基本生活保障情况")
    @ExcelProperty("基本生活保障情况")
    var jbshbzqk: String? = null

    @TableField("tbrq")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat("yyyy-MM-dd")
    @ApiModelProperty(value = "填表日期")
    @ExcelProperty("填表日期")
    var tbrq: Date? = null

    @TableField("SSXQ")
    @ApiModelProperty(value = "所属辖区")
    @ExcelProperty("所属辖区")
    var ssxq: String? = null

}